package com.ray.bean;

import com.ray.util.IntegerUtil;
import com.ray.util.StringUtil;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class MachineRelationProcessBean {
	private Integer id;// 唯一id
	private Integer processIdentify;// 工序id
	private Integer processMaxWorkingTime;// 工序最大工作时间
	private Integer machineID;// 机器当前状态id
	private ProcessBean processBean;// 工序id对应的工序对象

	public MachineRelationProcessBean() {
	}

	public MachineRelationProcessBean(String processIdentify,
			String processMaxWorkingTime, String machineID) {
		this.processIdentify = IntegerUtil.parseInteger(processIdentify);
		this.processMaxWorkingTime = IntegerUtil
				.parseInteger(processMaxWorkingTime);
		this.machineID = IntegerUtil.parseInteger(machineID);
	}

}
